package com.ruoyi.drugSystem.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 仓库库存信息对象 sys_stock_info
 *
 * @author ruoyi
 * @date 2023-03-08
 */
public class SysStockInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 库存id */
    private Long stockInfoId;

    /** 药品id */
    @Excel(name = "药品id")
    private Long drugdetailedinfoId;

    /** 数量 */
    @Excel(name = "数量")
    private Long number;

    /** 供应商序号 */
    @Excel(name = "供应商序号")
    private String supplierId;
    /** 首页图片 */
    @Excel(name = "图片")
    private String drugPic;

    public String getDrugPic() {
        return drugPic;
    }

    public void setDrugPic(String drugPic) {
        this.drugPic = drugPic;
    }

    /** 仓库序号 */
    @Excel(name = "仓库序号")
    private String stockId;

    private SysSupplier sysSupplier;

    private SysDrugStock sysDrugStock;

    private SysDrugInfo sysDrugInfo;

    public SysDrugInfo getSysDrugInfo() {
        return sysDrugInfo;
    }

    public void setSysDrugInfo(SysDrugInfo sysDrugInfo) {
        this.sysDrugInfo = sysDrugInfo;
    }

    public SysSupplier getSysSupplier() {
        return sysSupplier;
    }

    public void setSysSupplier(SysSupplier sysSupplier) {
        this.sysSupplier = sysSupplier;
    }

    public SysDrugStock getSysDrugStock() {
        return sysDrugStock;
    }

    public void setSysDrugStock(SysDrugStock sysDrugStock) {
        this.sysDrugStock = sysDrugStock;
    }



    public void setStockInfoId(Long stockInfoId)
    {
        this.stockInfoId = stockInfoId;
    }

    public Long getStockInfoId()
    {
        return stockInfoId;
    }
    public void setDrugdetailedinfoId(Long drugdetailedinfoId)
    {
        this.drugdetailedinfoId = drugdetailedinfoId;
    }

    public Long getDrugdetailedinfoId()
    {
        return drugdetailedinfoId;
    }
    public void setNumber(Long number)
    {
        this.number = number;
    }

    public Long getNumber()
    {
        return number;
    }
    public void setSupplierId(String supplierId)
    {
        this.supplierId = supplierId;
    }

    public String getSupplierId()
    {
        return supplierId;
    }
    public void setStockId(String stockId)
    {
        this.stockId = stockId;
    }

    public String getStockId()
    {
        return stockId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("stockInfoId", getStockInfoId())
                .append("drugdetailedinfoId", getDrugdetailedinfoId())
                .append("number", getNumber())
                .append("supplierId", getSupplierId())
                .append("stockId", getStockId())
                .append("createTime", getCreateTime())
                .append("sysDrugStock",getSysDrugStock())
                .append("sysDrugInfo",getSysDrugInfo())
                .append("sysSupplier",getSysSupplier())
                .toString();
    }
}